
set(rtp_rtcp_format_SRCS
    include/rtp_rtcp_defines.cc
    source/rtcp_packet.cc
    source/rtcp_packet/app.cc
    source/rtcp_packet/bye.cc
    source/rtcp_packet/common_header.cc
    source/rtcp_packet/compound_packet.cc
    source/rtcp_packet/dlrr.cc
    source/rtcp_packet/extended_jitter_report.cc
    source/rtcp_packet/extended_reports.cc
    source/rtcp_packet/fir.cc
    source/rtcp_packet/loss_notification.cc
    source/rtcp_packet/nack.cc
    source/rtcp_packet/pli.cc
    source/rtcp_packet/psfb.cc
    source/rtcp_packet/rapid_resync_request.cc
    source/rtcp_packet/receiver_report.cc
    source/rtcp_packet/remb.cc
    source/rtcp_packet/report_block.cc
    source/rtcp_packet/rrtr.cc
    source/rtcp_packet/rtpfb.cc
    source/rtcp_packet/sdes.cc
    source/rtcp_packet/sender_report.cc
    source/rtcp_packet/target_bitrate.cc
    source/rtcp_packet/tmmb_item.cc
    source/rtcp_packet/tmmbn.cc
    source/rtcp_packet/tmmbr.cc
    source/rtcp_packet/transport_feedback.cc
    source/rtp_generic_frame_descriptor.cc
    source/rtp_generic_frame_descriptor_extension.cc
    source/rtp_header_extension_map.cc
    source/rtp_header_extensions.cc
    source/rtp_packet.cc
    source/rtp_packet_received.cc
    source/rtp_packet_to_send.cc
)

set(rtp_rtcp_SRCS
    source/contributing_sources.cc
    source/dtmf_queue.cc
    source/fec_private_tables_bursty.cc
    source/fec_private_tables_random.cc
    source/flexfec_header_reader_writer.cc
    source/flexfec_receiver.cc
    source/flexfec_sender.cc
    source/forward_error_correction.cc
    source/forward_error_correction_internal.cc
    source/packet_loss_stats.cc
    source/playout_delay_oracle.cc
    source/receive_statistics_impl.cc
    source/remote_ntp_time_estimator.cc
    source/rtcp_nack_stats.cc
    source/rtcp_receiver.cc
    source/rtcp_sender.cc
    source/rtp_format.cc
    source/rtp_format_h264.cc
    source/rtp_format_video_generic.cc
    source/rtp_format_vp8.cc
    source/rtp_format_vp9.cc
    source/rtp_header_extension_size.cc
    source/rtp_header_parser.cc
    source/rtp_packet_history.cc
    source/rtp_rtcp_impl.cc
    source/rtp_sender.cc
    source/rtp_sender_audio.cc
    source/rtp_sender_video.cc
    source/rtp_sequence_number_map.cc
    source/rtp_utility.cc
    source/time_util.cc
    source/tmmbr_help.cc
    source/ulpfec_generator.cc
    source/ulpfec_header_reader_writer.cc
    source/ulpfec_receiver_impl.cc
)

set(rtcp_transceiver_SRCS
    source/rtcp_transceiver.cc
    source/rtcp_transceiver_config.cc
    source/rtcp_transceiver_impl.cc
)

set(rtp_video_header_SRCS
    source/rtp_video_header.cc
)

add_library(rtp_rtcp 
    ${rtp_rtcp_format_SRCS}
    ${rtp_rtcp_SRCS}
    ${rtcp_transceiver_SRCS}
    ${rtp_video_header_SRCS}
)